package com.cn.mmd.service;


import com.cn.mmd.mapper.StudentIntegralMapper;
import com.cn.mmd.model.StudentIntegral;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/12/7.
 */
@Service("studentIntegralService")
public class StudentIntegralServiceImpl implements StudentIntegralService {

    @Autowired
    private StudentIntegralMapper studentIntegralMapper;

    @Override
    public StudentIntegral selectByPrimaryKey(String studentid) {
        return studentIntegralMapper.selectByPrimaryKey(studentid);
    }

    @Override
    public int updateByPrimaryKeySelective(StudentIntegral record) {
        return studentIntegralMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int insertSelective(StudentIntegral record) {
        return studentIntegralMapper.insertSelective(record);
    }
}
